Skip to content

feat(deps): bump cocoindex to 1.0.6, tag telemetry as cocoindex-code#172

Merged
georgeh0 merged 1 commit into
mainfrom
g/cocoindex-1.0.6-telemetry-tag
May 19, 2026
Merged

feat(deps): bump cocoindex to 1.0.6, tag telemetry as cocoindex-code#172
georgeh0 merged 1 commit into
mainfrom
g/cocoindex-1.0.6-telemetry-tag

Conversation

@georgeh0
Copy link
Copy Markdown
Member

Summary

  • Bump cocoindex (and the sentence-transformers extra) lower bound to 1.0.6 — the first release including cocoindex-io/cocoindex#1992, which adds the optional COCOINDEX_APPLICATION_FOR_TRACKING env var.
  • Set COCOINDEX_APPLICATION_FOR_TRACKING=cocoindex-code at the top of cocoindex_code/__init__.py (before any submodule imports cocoindex) so aggregate telemetry can identify this application. Uses setdefault so an explicit user override still wins.
  • Document the telemetry behavior and the COCOINDEX_DISABLE_USAGE_TRACKING=1 opt-out in the README.

Test plan

  • CI (mypy + pytest)
  • Verified locally: uv run python -c "import cocoindex_code; import os; print(os.environ['COCOINDEX_APPLICATION_FOR_TRACKING'])" prints cocoindex-code
  • uv run pytest tests/ — 193 passed

Bump cocoindex (and the sentence-transformers extra) lower bound to 1.0.6,
the first release including cocoindex-io/cocoindex#1992 which adds the
optional `COCOINDEX_APPLICATION_FOR_TRACKING` env var.

Set `COCOINDEX_APPLICATION_FOR_TRACKING=cocoindex-code` at the top of
`cocoindex_code/__init__.py` (before any submodule imports `cocoindex`)
so aggregate telemetry can identify this application. Uses `setdefault`
to leave any explicit user value untouched.

Document the telemetry behavior and `COCOINDEX_DISABLE_USAGE_TRACKING`
opt-out in the README.
@georgeh0 georgeh0 merged commit e6a077f into main May 19, 2026
4 checks passed
@georgeh0 georgeh0 deleted the g/cocoindex-1.0.6-telemetry-tag branch May 19, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant